package com.heima.model.schedule.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("taskinfo")
public class Taskinfo implements Serializable {
    private static final long serialVersionUID = 1L;

    //任务id
    @TableId(type = IdType.ASSIGN_ID)
    private Long taskId;

    //执行时间
    @TableField("execute_time")
    private Date executeTime;

    //参数
    @TableField("parameters")
    private byte[] parameters;

    //优先级
    @TableField("priority")
    private Integer priority;

    //任务类型
    @TableField("task_type")
    private Integer taskType;
}
